<div class="popup-body escale-be-photo-popup">
	<section class="title">
		<h4><?php echo lang('escort_be_photo_edit')?></h4>
	</section>
	<form id="edit-image-form" action="<?php echo site_url().'admin/be_escort/picture/edit/'.$media->id?>" method="post" enctype="multipart/form-data">
		<input type="hidden" name="image_id" id="image_id" value="" />
		<input type="hidden" name="refresh-url" id="refresh-url" value="" />
		<section class="item">
			<div class="form_inputs">
				<fieldset>
					<ul>
						<li class="even">
							<label for="image-crop"><?php echo lang('escort_be_photo_re_update_label')?></label>
							<div class="input">
								<?php echo form_upload('image_file', '', 'id="image_file"')?>
							</div>
						</li>
						<li class="odd">
							<label for="image-crop"><?php echo lang('escort_be_photo_permission_label')?><span>*</span></label>
							<div class="input">
								<?php echo form_dropdown('permission', $permissionList, $media->permission)?>
							</div>
						</li>
						<li class="odd">
							<label for="image-crop"><?php echo lang('escort_be_photo_reviewed_label')?></label>
							<div class="input">
								<?php echo form_checkbox('image_reviewed', '1', $media->review, 'id="image_reviewed"')?>
							</div>
						</li>
						<li class="even">
							<label for="alt_text"><?php echo lang('escort_be_photo_alt_text_label')?></label>
							<div class="input">
								<?php echo form_input('alt_text', $media->alt_text,'id="alt_text"'); ?>
							</div>
						</li>
						<li class="odd">
							<label for="desc_text"><?php echo lang('escort_be_photo_desc_text_label')?></label>
							<div class="input">
							    <?php echo form_textarea(array('name' => 'desc_text',
								    'id' => 'desc_text',
								    'value' =>  $media->desc_text,
								    'rows' => '3',
								    'cols' => '20')); ?>
							</div>
						</li>
					</ul>
				</fieldset>
			</div>
		
			<div>
				<?php echo form_submit(array('id'=>'save-photo', 'name'=>'add', 'class'=>'btn blue', 'value'=>lang('escort_be_photo_save'), 'content'=>lang('escort_be_photo_save')))?>
				<?php echo form_button(array('id'=>'cancel-photo', 'name'=>'add', 'class'=>'btn blue', 'value'=>lang('escort_be_photo_cancel'), 'content'=>lang('escort_be_photo_cancel')))?>
			</div>
		</section>
	</form>
</div>